$OpenBSD: patch-libelftc_make-toolchain-version,v 1.1 2016/09/01 11:13:12 jasper Exp $

Don't depend on {git,svn}version

--- libelftc/make-toolchain-version.orig	Thu Sep  1 12:09:38 2016
+++ libelftc/make-toolchain-version	Thu Sep  1 12:11:16 2016
@@ -64,7 +64,7 @@ done
 curdir=`pwd`
 cd ${top} || usage "ERROR: Cannot change directory to \"${top}\"."
 
-if [ -d CVS ]; then		# Look for CVS (NetBSD).
+if [ -d CVS -o `uname` == "OpenBSD" ]; then		# Look for CVS (NetBSD).
     versionstring=" cvs:unknown"
 else				# Try git (DragonFlyBSD).
     gitversion="$(git describe --all --dirty --long 2> /dev/null)"
